<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted Access');
?>
<?php foreach($this->items as $i => $item) { ?>
<tr class="row<?php echo $i % 2; ?>">
	<td><?php echo JHtml::_('grid.id', $i, $item->id); ?></td>
	<td>
		<a href="<?php echo JRoute::_('index.php?option=com_product&task=product.edit&id='.$item->id); ?>">
			<?php echo $this->escape($item->code); ?>
		</a>
	</td>
	<td>
		<a href="<?php echo JRoute::_('index.php?option=com_product&task=product.edit&id='.$item->id); ?>">
			<?php echo $this->escape($item->name); ?>
		</a>
	</td>
	<td class="center"><?php echo JHtml::_('jgrid.published', $item->published, $i, 'products.'); ?></td>
	<td class="center"><?php echo JHtml::_('productadministrator.featured', $item->featured, $i); ?></td>
	<td><?php echo $item->category; ?></td>
	<td><?php echo $item->description; ?></td>
	<td><?php echo $item->id; ?></td>
</tr>
<?php } ?>